package com.springboot.springboot03yml;

import com.springboot.springboot03yml.config.Add;
import com.springboot.springboot03yml.config.UserConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

@EnableConfigurationProperties({UserConfig.class, Add.class})
@SpringBootApplication
//@ConfigurationPropertiesScan("com.springboot.springboot03yml.config")
public class Springboot03YmlApplication {

    public static void main(String[] args) {
        SpringApplication.run(Springboot03YmlApplication.class, args);
    }

}
